package shlib

import (
	"crypto/sha256"
	"crypto/sha512"
)

func Sha256(data []byte) []byte {
	h := sha256.Sum256(data)
	return h[:]
}

func Sha512(data []byte) []byte {
	h := sha512.Sum512(data)
	return h[:]
}
